-
Notifications
You must be signed in to change notification settings - Fork 243
Create NSError object when error object is returned from services #1501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Important PR Review SkippedPR review skipped as per the configuration setting. Run a manually review by commenting /matter review 💡Tips to use Matter AICommand List
|
|
/matter review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR implements error object creation from service responses, which is a good improvement. However, there are several issues that need to be addressed for production readiness.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gdeluna-branch After this fix, this function will create a long url if short url creation fails. But react native code will not read this URL because error object will be non-nil.
|
Important PR Review SkippedPR review skipped as per the configuration setting. Run a manually review by commenting /matter review 💡Tips to use Matter AICommand List
|
Confirmed this behavior, we don't serve any long links in Android and I'm pretty sure we don't want long links returned anyway. Dropping the object for now on RN side, we can remove all references to long links in another PR. |
Reference
SDK-XXXX -- <TITLE>.
Summary
Motivation
Type Of Change
Testing Instructions
cc @BranchMetrics/saas-sdk-devs for visibility.